const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  lintOnSave: false,
  devServer: {
    port: 8999, //项目端口号
    open: true, //自动打开浏览器
    host: "localhost",
    proxy: {
      "/api": {
        target: "http://127.0.0.1:8888/api",
        pathRewrite: { "^/api": "" },
      },
    },
  },
  productionSourceMap: false,
});
